package ModelImplementation

import "SPC/Model"

type MailMethod struct {
	itsAddress string
}

func NewMailMethod(address string) *MailMethod {
	return &MailMethod{
		address,
	}
}

func (m *MailMethod) GetAddress() string {
	return m.itsAddress
}

func (m *MailMethod) Pay(pc Model.Paycheck) {
	pc.SetField("Disposition", "Mail")
}
